<template>
  <div>
    <van-nav-bar
      fixed
      left-arrow
      :border="false"
      class="bg-primary color-white"
      title="申请调级"
      @click-left="$utils.back($route.path);"
    />
    <div class="has-top">
      <div class="pos-r">
        <div class="top-bg bg-primary" />
        <div class="content">
          <div class="flex-s-c top-content color-primary">
            <div class="flex-item">
              <p class="grade">二级代理</p>
              <p class="text">当前等级</p>
            </div>
            <div class="flex-item">
              <p class="grade">二级代理</p>
              <p class="text">升级等级</p>
            </div>
          </div>
          <div class="list">
            <div class="item flex-s-c">
              <p class="item-left">打款方式</p>
              <p class="item-right">线下支付</p>
              <div class="right-arrow" />
            </div>
            <div class="item flex-s-c">
              <p class="item-left">保证金</p>
              <p class="item-right">50000元</p>
            </div>
            <div class="item">
              <p class="item-left">上传打款凭证</p>
              <p class="item-right">50000元</p>
            </div>
          </div>
        </div>
        <div class="sunmit-btn bg-primary">提交申请</div>
      </div>
    </div>

  </div>
</template>

<script>
export default {
  components: {
  },

  data() {
    return {

    }
  },
  computed: {

  },
  created() {

  },
  activated() {},
  methods: {

  }
}
</script>
<style lang="scss" scoped>
.color-white{
  /deep/.van-nav-bar__title,/deep/.van-icon{
    color:$colorF;
  }
}
.top-bg{
  position: absolute;
  width: 100%;
  height: 372px;
  top:-24px;
  left: 0;
  border-radius: 0 0 30% 30%;
}
.content{
  position: relative;
  margin: 24px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  .top-content{
    padding: 60px 50px 50px;
    background: #FFFAF5;
    position: relative;
    &:before,&:after{
        content: '';
        position: absolute;
        width: 32px;
        height: 32px;
        border-radius: 16px;
        background: currentColor;
        bottom: -16px;
        right: -16px;
      }
      &:before{
        left: -16px;
        right: auto;
      }
    .flex-item{
      text-align: center;
      .grade{
        color:#333;
        font-size: 36px;
        font-weight: bold;
      }
      .text{
        font-size: 24px;
        color:#666;
      }
    }
  }
  .list{
    padding-top: 30px;
    .item{
      padding: 34px 12px 34px 0;
      margin-left: 24px;
      &:not(:last-child){
        border-bottom: 1px solid #EBEBEB;
      }
      .item-left{
        width: 224px;
        flex-shrink: 0;
        font-size: 30px;
      }
      .item-right{
        flex: 1;
        font-size: 30px;
        color: #999;
      }
      .right-arrow{
        width: 32px;
        height: 32px;
        flex-shrink: 0;
        flex-grow: 0;
        margin-left: 20px;
        // border-radius: 16px;
        // background: #F1F1F1;
        position: relative;
        &:after{
          content: '';
          width: 8px;
          height: 8px;
          border: 2px solid;
          border-color: #333 #333 transparent transparent;
          position: absolute;
          top: 10px;
          left: 8px;
          transform: rotate(45deg);
        }
      }
    }
  }
}
.sunmit-btn{
  color: #fff;
  font-size: 32px;
  text-align: center;
  margin: 54px 40px;
  line-height: 88px;
  border-radius: 44px;
}
</style>
